package sg.edu.nus.iss.jass.datastore;


/**
 * Error message of persistence layer
 * @author Wang Dayong
 *
 */
public class MessageConstants {
	public static final String VERSION_CHECK_DEL_ERR = "Object has been modified by others";
	public static final String VERSION_CHECK_UPDATE_ERR = "Object has been deleted by others";
	public static final String NO_RCD_FOUND_DEL_ERR = "The delete object not found";
	public static final String BATCH_DEL_ERR = "Batch delete is unsupported in this version";
	public static final String TRANS_UNSUPPORT = "Transaction is unsupported in this version";
	public static final String GEN_ID_ERR = "Encounter error when generating ID";
	public static final String SAVE_ERR = "Encounter error when saving object";
	public static final String DEL_ERR = "Encounter error when deleting object";
	public static final String LOAD_ERR = "Encounter error when loading object";
	public static final String NESTED_TRAN_ERR = "Nested transaction is unsupported";
	public static final String TRAN_COMMIT_ERR = "Encounter error when commit transaction";
	public static final String TRAN_ROLLBACK_ERR = "Encounter error when rollback transaction";
	
	
}
